package com.ejd.access.bean;



import java.util.ArrayList;

import java.util.List;

import com.ejd.web.bo.BaseEntity;

@SuppressWarnings("serial")
public class Role extends BaseEntity {	
	
    private String roleCode;
    
	private String roleName;
        
	private String descriptioin;
	
	private boolean online;
        
	private Company company;
	
	private Station station; 
	
	private String rootTreeCode;
	
	private List<Resource> rootResources;
	
	private List<Resource> resources;
	
	private List<String> resourcesId = new ArrayList<String>();
	
	private List<Station> stations; 
	
	private boolean assigned;
	
	private String searchRoleName;
	
	private boolean adminRole;

	public boolean isAdminRole() {
		return adminRole;
	}

	public void setAdminRole(boolean adminRole) {
		this.adminRole = adminRole;
	}

	public String getRoleCode() {
		return roleCode;
	}

	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}

	public String getSearchRoleName() {
		return searchRoleName;
	}

	public void setSearchRoleName(String searchRoleName) {
		this.searchRoleName = searchRoleName;
	}

	public boolean isOnline() {
		return online;
	}

	public void setOnline(boolean online) {
		this.online = online;
	}

	public List<Station> getStations() {
		return stations;
	}

	public void setStations(List<Station> stations) {
		this.stations = stations;
	}

	public boolean isAssigned() {
		return assigned;
	}

	public void setAssigned(boolean assigned) {
		this.assigned = assigned;
	}

	public List<String> getResourcesId() {
		return resourcesId;
	}

	public void setResourcesId(List<String> resourcesId) {
		this.resourcesId = resourcesId;
	}

	public String getRootTreeCode() {
		return rootTreeCode;
	}

	public void setRootTreeCode(String rootTreeCode) {
		this.rootTreeCode = rootTreeCode;
	}

	public List<Resource> getRootResources() {
		return rootResources;
	}

	public void setRootResources(List<Resource> rootResources) {
		this.rootResources = rootResources;
	}

	public List<Resource> getResources() {
		return resources;
	}

	public void setResources(List<Resource> resources) {
		this.resources = resources;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
		
	public String getDescriptioin() {
		return descriptioin;
	}

	public void setDescriptioin(String descriptioin) {
		this.descriptioin = descriptioin;
	}

	public Company getCompany() {
		return company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public Station getStation() {
		return station;
	}

	public void setStation(Station station) {
		this.station = station;
	}
}
